package com.hwadee.caixiang.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.hwadee.caixiang.dao.CategoryMapper;
import com.hwadee.caixiang.entity.Category;
import com.hwadee.caixiang.service.CategoryService;

@Service("categoryService")
public class CategoryServiceImpl implements CategoryService {

	@Autowired
	private CategoryMapper categoryMapper;

	@Transactional
	@Override
	public List<Category> findAllCategory() {
		return categoryMapper.findAllCategory();
	}

}
